#!/bin/sh
for f in *.jpg; do
    echo $f
    read g
    mv "$f" "$g.jpg"
done
